<nz-space style="text-align:center">
  <input *nzSpaceItem nz-input placeholder="发送消息 " style="width: 200px" [(ngModel)]="directMessage"/>
  <button *nzSpaceItem nz-button nzType="primary"
          (click)="directSend()"
          [nzLoading]="directLoading"
          nz-tooltip nzTooltipTitle="直连交换机，到 user-service 后台查看消费者输出">
    直连交换机生产者
  </button>
</nz-space>

<br><br>

<nz-space style="text-align:center">
  <input *nzSpaceItem nz-input placeholder="发送消息 " style="width: 200px" [(ngModel)]="fauntMessage"/>
  <button *nzSpaceItem nz-button nzType="primary"
          (click)="fauntSend()"
          [nzLoading]="fauntLoading"
          nz-tooltip nzTooltipTitle="扇形交换机，到 user-service 后台查看消费者输出">
    扇形交换机生产者
  </button>
</nz-space>

<br><br>

<nz-space style="text-align:center">
  <input *nzSpaceItem nz-input placeholder="姓名" style="width: 200px" [(ngModel)]="username"/>
  <input *nzSpaceItem nz-input placeholder="密码 " style="width: 200px" [(ngModel)]="password"/>
  <button *nzSpaceItem nz-button nzType="primary"
          (click)="serialSend()"
          [nzLoading]="serialLoading"
          nz-tooltip nzTooltipTitle="序列化对象处理">
    发送复杂对象
  </button>
</nz-space>

<br><br>

<nz-space style="text-align:center">
  <input *nzSpaceItem nz-input placeholder="消息" style="width: 200px" [(ngModel)]="confirmMsg"/>
  <button *nzSpaceItem nz-button nzType="primary"
          (click)="confirmSend()"
          [nzLoading]="confirmLoading"
          nz-tooltip nzTooltipTitle="模拟发布确认-到交换机失败情况！">
    发布确认-交换机
  </button>
</nz-space>

<br><br>

<nz-space style="text-align:center">
  <input *nzSpaceItem nz-input placeholder="消息" style="width: 200px" [(ngModel)]="returnMsg"/>
  <button *nzSpaceItem nz-button nzType="primary"
          (click)="returnSend()"
          [nzLoading]="returnLoading"
          nz-tooltip nzTooltipTitle="模拟发布确认-到队列失败情况！">
    发布确认-队列
  </button>
</nz-space>

<br><br>

<nz-space style="text-align:center">
  <input *nzSpaceItem nz-input placeholder="消息" style="width: 200px" [(ngModel)]="retryMsg"/>
  <button *nzSpaceItem nz-button nzType="primary"
          (click)="retrySend()"
          [nzLoading]="retryLoading"
          nz-tooltip nzTooltipTitle="spring-mq 重试，消费者消费时发生异常，在消费端进行重试">
    重试机制
  </button>
</nz-space>

<br><br>

<nz-space style="text-align:center">
  <input *nzSpaceItem nz-input placeholder="消息" style="width: 200px" [(ngModel)]="deadMsg"/>
  <button *nzSpaceItem nz-button nzType="primary"
          (click)="deadSend()"
          [nzLoading]="deadLoading"
          nz-tooltip nzTooltipTitle="死信队列，被拒绝、超时等信息会存放到死信队列">
    死信队列
  </button>
</nz-space>
